<?php
/**
 * Created by PhpStorm.
 * User: rocky
 * Date: 2019-07-14
 * Time: 01:24
 */

namespace app\shop\resource;

use app\common\model\ArticleCollect;
use app\common\resource\BaseResource;

class RefundListResoure extends BaseResource
{
    public function toArray($data)
    {

        return [
            'id' => $data['id'],
            'order_no' => $data['order']['order_no'],
            'status'=>$data['status'],
            'goods' => OrderGoodResoure::collection($data['good']),
            'create_at'=>$data['create_at'],
        ];
    }

}